﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_User_Update.ascx.cs"
    Inherits="Stationery.UC.UC_User_Update" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dxuc" %>
<style type="text/css">
    .style1
    {
        height: 26px;
    }
</style>
<table width="100%" cellspacing="5">
    <tr>
        <td width="120px" class="style1">
            Tên đăng nhập:
        </td>
        <td width="300px" class="style1">
            <dxe:ASPxTextBox ID="ASPxTextBoxUsername" runat="server" Width="100px">
            </dxe:ASPxTextBox>
        </td>
        <td class="style1">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ASPxTextBoxUsername"
                ErrorMessage="Nhập tên đăng nhập"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            Tên đầy đủ:
        </td>
        <td>
            <dxe:ASPxTextBox ID="ASPxTextBoxFullName" runat="server" Width="300px" 
                AutoResizeWithContainer="True">
            </dxe:ASPxTextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ASPxTextBoxFullName"
                ErrorMessage="Nhập tên đầy đủ"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style1">
            Email 1 (yahoo):
        </td>
        <td class="style1">
            <dxe:ASPxTextBox ID="ASPxTextBoxEmail" runat="server" Width="300px" 
                AutoResizeWithContainer="True">
            </dxe:ASPxTextBox>
        </td>
        <td class="style1">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            Email 2 (skype):</td>
        <td>
            <dxe:ASPxTextBox ID="ASPxTextBoxEmailSkype" runat="server" Width="300px" 
                AutoResizeWithContainer="True">
            </dxe:ASPxTextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Điện thoại:
        </td>
        <td>
            <dxe:ASPxTextBox ID="ASPxTextBoxMobile" runat="server" Width="300px" 
                AutoResizeWithContainer="True">
            </dxe:ASPxTextBox>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            Mật khẩu:
        </td>
        <td>
            <dxe:ASPxTextBox ID="ASPxTextBoxPassword" runat="server" Width="150px" 
                AutoResizeWithContainer="True" Password="True">
            </dxe:ASPxTextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ASPxTextBoxPassword"
                ErrorMessage="Nhập mật khẩu"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            Xác nhận mật khẩu:</td>
        <td>
            <dxe:ASPxTextBox ID="ASPxTextBoxConfirm" runat="server" Width="150px" 
                AutoResizeWithContainer="True" Password="True">
            </dxe:ASPxTextBox>
        </td>
        <td>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="ASPxTextBoxPassword" ControlToValidate="ASPxTextBoxConfirm" 
                ErrorMessage="Mật khẩu xác nhận không đúng" Display="Dynamic"></asp:CompareValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="ASPxTextBoxConfirm" 
                ErrorMessage="Phải nhập mật khẩu xác nhận"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td>
            <table>
                <tr>
                    <td>
                        <dxe:ASPxButton ID="ASPxButtonSave" runat="server" Text="Lưu" Width="60px" OnClick="ASPxButtonSave_Click">
                        </dxe:ASPxButton>
                    </td>
                    <td>
                        <dxe:ASPxButton ID="ASPxButtonCancel" runat="server" Text="Hủy" Width="60px" 
                            onclick="ASPxButtonCancel_Click" CausesValidation="False">
                        </dxe:ASPxButton>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
</table>
